namespace UniversalAdminSystem.Domian.knowledge.ValueObj;

public record TextEmbedding
{
    public float[] Value { get; init; }

    private TextEmbedding(float[] value)
    {
        if (value == null)
        {
            throw new ArgumentException("向量不得为空");
        }

        Value = value;
    }

    public static TextEmbedding Create(float[] Vector) => new(Vector);

    
}